package cn.jslancer.webx.router;

import cn.jslancer.webx.request.ServerRequest;
import cn.jslancer.webx.response.ServerResponse;
import cn.jslancer.webx.rest.RestResponse;

/**
 * @author jslancer
 * @date 2018/7/29 21:18
 */
public interface RoutingContext {

    ServerRequest request();

    ServerResponse response();

    void json(RestResponse response);

    void next();
}
